<html>
    <head>
        <script>
            // Local Storage
            var ls = localStorage;

            console.log(ls);

            ls.setItem('name', 'Byron');
            ls.setItem('age', '24');

            console.log(ls);

            // Session Storage
            var ss = sessionStorage;

            console.log(ss);

            ss.setItem('status','online')

            console.log(ss);
        </script>
    </head>
    <body>
        
    </body>
</html>